package com.vnaloha.common.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.vnaloha.common.dao.ManufacturerDAO;
import com.vnaloha.common.model.Manufacturer;

@Service
public class ManufacturerServiceImpl implements ManufacturerService{

	@Autowired
	private ManufacturerDAO manufacturer;
	
	@Override
	public List<Manufacturer> list() {
		return manufacturer.list();
	}

	@Override
	public Manufacturer get(int id) {
		return manufacturer.get(id);
	}
	
}
